%define appname <%= $appname %>
<%= $additional_args %>

Summary:    Rhodes based application
Name:       %{appname}
Version:    <%= $version_app %>
Release:    1
Group:      Networking/WWW
License:    Proprietary  
Source0:	<%= $appname %>.tar
Source1:	<%= $appname %>.rpmlintrc
Vendor:     <%= $vendor %>
BuildArch:  <%= $architecture %>
Autoreq: 0

<% $deps.each do | dep | %>
Requires: <%= dep %><% end %>

%description
Rhodes based application.

%prep
%setup -q 

%build

%install
<% if $create_buildroot %>mkdir %{buildroot}<%end%>
mv * %{buildroot}

%files
%attr(0755, root, root) /usr/share/applications/%{appname}.desktop
%attr(0777, root, root) /opt/%{appname}
